#ifndef RGBIMAGE_H
#define RGBIMAGE_H


class Image
{
public:
    Image(const char *buf,int w,int h);
    Image(const Image & );
    Image & operator = (const Image & );
public:
    char * Buf();
    int width();
    int height();
public:
    ~Image();
private:
    int     m_width;
    int     m_height;
    char    *dataBuf;
};

#endif // RGBIMAGE_H
